<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    <style>
        * {
            color: #838383;
            margin: 0;
            padding: 0
        }

        body, html {
            font-size: 12px;
            overflow: hidden
        }

        .content {
            padding: 5px 0 0 15px
        }

        input {
            width: 210px;
            height: 21px;
            line-height: 21px;
            margin-left: 4px
        }
    </style>
</head>
<body>
    <div class="content"><span><var id="lang_input_anchorName"></var></span><input id="anchorName"></div>
    <script src="../internal.js"></script>
    <script>var anchorInput=$G("anchorName"),node=editor.selection.getRange().getClosedNode();node&&"IMG"==node.tagName&&(node=node.getAttribute("anchorname"))&&(anchorInput.value=node),anchorInput.onkeydown=function(o){13==(o=o||window.event).keyCode&&(editor.execCommand("anchor",anchorInput.value),dialog.close(),domUtils.preventDefault(o))},dialog.onok=function(){editor.execCommand("anchor",anchorInput.value),dialog.close()},$focus(anchorInput)</script>
</body>
</html>